import { useState } from "react";
import "./index.less";
import ProfileList from "./components/ProfileList/index";
import ProfileContent from "./components/ProfileContent/index";
import React from "react";

function Profile() {
  const [currPage, setCurrPage] = useState({
    icon: '/assets/icon/my_grzl@2x.png',
    title: '个人资料',
    name: 'profile'
  });

  return (
    <>
      <div className="flex-base">
        <ProfileList setCurrPage={ setCurrPage } />
        <ProfileContent currPage={ currPage } />
      </div>
    </>
  );
}

export default Profile;
